package Day02;

public class DataTypeCastDemo {
    public static void main(String[] args) {

        int a=5;
        long b=5;
        int c=(int)b;
        System.out.println(c);
        long e=10000000000L;
        int f=(int)e;
        System.out.println(f);
        double g=3.1415926;
        int h=(int)g;
        System.out.println(h);
        long i=(long)g;
        System.out.println(i);
        double j=10;
        System.out.println(j);

        byte b1=5;
        byte b2=6;
        byte b3=(byte)(b1+b2);
        System.out.println(b3);
        System.out.println(2+2);
        System.out.println('2'+'2');
        System.out.println('我'+'你');
        System.out.println(2*'我');
/*
        int a='我';
        System.out.println(a);
        int b='你';
        System.out.println(b);

        char a1=60004;
        System.out.println(a1);
        */
    }
}